package homework01;

/**
 * @ClassName Test
 * @Description TODO
 * @Author 黑白灰色雨
 * @Date 2024/9/4 14:44
 * @Version 1.0
 */
public class CirTest {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.setRadius(5);
        System.out.println("圆的面积"+circle.findArea());

        Cylinder cylinder = new Cylinder();
        cylinder.setRadius(5);
        cylinder.setLength(10);
        System.out.println("圆柱体体积"+cylinder.findVolume());
    }
}
